package com.bbzn.device.client.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bbzn.device.client.dataobject.BloodOxygenHis;
import com.bbzn.device.client.dao.history.BloodOxygenHisMapper;
import com.bbzn.device.client.service.BloodOxygenHisService;

@Service
public class BloodOxygenHisServiceImpl implements BloodOxygenHisService {

    @Resource
    private BloodOxygenHisMapper bloodOxygenHisMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return bloodOxygenHisMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BloodOxygenHis record) {
        return bloodOxygenHisMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(BloodOxygenHis record) {
        return bloodOxygenHisMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(BloodOxygenHis record) {
        return bloodOxygenHisMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(BloodOxygenHis record) {
        return bloodOxygenHisMapper.insertSelective(record);
    }

    @Override
    public BloodOxygenHis selectByPrimaryKey(Long id) {
        return bloodOxygenHisMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(BloodOxygenHis record) {
        return bloodOxygenHisMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BloodOxygenHis record) {
        return bloodOxygenHisMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<BloodOxygenHis> findByAll(BloodOxygenHis bloodOxygenHis) {
        return bloodOxygenHisMapper.findByAll(bloodOxygenHis);
    }

    @Override
    public int updateBatch(List<BloodOxygenHis> list) {
        return bloodOxygenHisMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<BloodOxygenHis> list) {
        return bloodOxygenHisMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<BloodOxygenHis> list) {
        return bloodOxygenHisMapper.batchInsert(list);
    }

    @Override
    public int deleteByImei(String imei) {
        return bloodOxygenHisMapper.deleteByImei(imei);
    }
}

